package com.cn.service.server.TechnologicalStandard;

import com.cn.bean.pojo.TechnologicalStandard.*;
import com.cn.config.config.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReplaceProcessStandardsService {
    List<GrindingProcessStandardMain> selectReplaceProcessStandards(int page, int limit, String equipmentStructure,String structureName,String name,String standardType,String procedures);

    Result addReplaceProcessStandards(@Param("grindingProcessStandardMain") GrindingProcessStandardMain grindingProcessStandardMain, List<ReplacementCategory> replacementCategoryList);

    List<GrindingProcessStandardMain> selectReplaceProcessStandardsId(@Param("id") int id);

    Result deleteGrindingProcessStandardMain(List<GrindingProcessStandardMain> idList);

    Result updateGrindingProcessStandardMain(GrindingProcessStandardMain grindingProcessStandardMain,
                                             List<ReplacementCategory> replacementCategoryList);

    Result updateShGrindingProcessStandardMain(List<GrindingProcessStandardMain> grindingProcessStandardMainList, int state, String reviewer, String reviewerID, String reviewTime);

}
